// Copyright 2022 a.o.smith ALL Rights Reserved
package com.liuxinlong.modules.dao.impl;

import com.liuxinlong.modules.dao.AssetsInvestmentInputDao;
import com.liuxinlong.modules.entity.InvestmentInput;
import com.liuxinlong.modules.mapper.AssetsInvestmentInputMapper;
import com.baomidou.mybatisplus.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

/**
 * AssetsInvestmentInputDaoImpl
 *
 * @author liuxinlong@hotwater.com.cn
 * @version 1.0.0
 * @since 2024年09月25日
 */
@Service
public class AssetsInvestmentInputDaoImpl extends ServiceImpl<AssetsInvestmentInputMapper, InvestmentInput> implements AssetsInvestmentInputDao {

    @Override
    public List<InvestmentInput> pageInvestmentInputInfo(Map<String, Object> queryParam) {
        return baseMapper.pageInvestmentInputInfo(queryParam);
    }

    @Override
    public int getInvestmentInputInfoCount(Map<String, Object> queryParam) {
        return baseMapper.getInvestmentInputInfoCount(queryParam);
    }

    @Override
    public void deleteByInvestmentId(String investmentId) {
        baseMapper.deleteByInvestmentId(investmentId);
    }

}
